/**
 * Copyright (C), 2019-2022, 宇信融汇
 * FileName: OperatorDemo
 * Author:   666
 * Date:     2022/1/9 22:05
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 666           修改时间           版本号              描述
 */
package com.day02.operator;

/**
 * @Classname OperatorDemo
 * @Description 熟练站掌握++  --
 * @Date 2022/1/9 22:05
 * @Created by 666
 */
public class OperatorDemo01 {
    public static void main(String[] args) {
        int a = 10;
        //单独使用加号在后面 先赋值后+1
        int aa = a++;
        int b = 10;
        //单独使用加号在后面 先加+1  后赋值
       int bb= ++b;
        System.out.println(a+"----"+b);
        System.out.println(aa+"--aa--bb--"+bb);
    }
}
